#include <stdio.h>

int
main()
{
	char a[20] = {0};
	long i = 123456789;
	snprintf(a, 20, "%ld", i);
	printf("i is %d , char is %s\n", i, a);
}
